import request from '@/utils/request'
// 查询业务列表
export function listParkAreaInfo(query) {
  return request({
    url: '/business/parkAreaInfo/list',
    method: 'get',
    params: query
  })
}
// 查询业务详细
export function getParkAreaInfo(id) {
  return request({
    url: '/business/parkAreaInfo/' + id,
    method: 'get'
  })
}
// 新增业务
export function addParkAreaInfo(data) {
  return request({
    url: '/business/parkAreaInfo',
    method: 'post',
    data: data
  })
}
// 修改业务
export function updateParkAreaInfo(data) {
  return request({
    url: '/business/parkAreaInfo',
    method: 'put',
    data: data
  })
}
// 删除业务
export function delParkAreaInfo(id) {
  return request({
    url: '/business/parkAreaInfo/' + id,
    method: 'delete'
  })
}